﻿/**
 * Reboulder - Partial Boulder Dash clone
 * Jesús Sagra, 2014
 * 
 * HiScoreScreen class: shows project developers
 * 
 * Version    Date     Changes
 * -----------------------------------------------------
 *  0.01   06-mar-2015  Draw  Jesus Sagra
 */

class CreditsScreen
{
     protected Font font18;

     public CreditsScreen()
    {
        font18 = new Font("data/Joystix.ttf", 18);
    }


    //Draw developers names going up
    public void Draw()
    {
        short y = 500;
        
        do
        {
            SdlHardware.ClearScreen();
            SdlHardware.WriteHiddenText("PRESS ESC TO SKIP",
                400, 600, 255, 255, 255, font18);
            SdlHardware.WriteHiddenText("JESUS SAGRA ALCALA",
                 400, y, 255, 255, 255, font18);
            y -= 1;
            SdlHardware.ShowHiddenScreen();
            SdlHardware.Pause(40);
        }
        while (!SdlHardware.KeyPressed(SdlHardware.KEY_ESC));
    }
}
